
#app {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
}

#y-iframe {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    width: 100%;
    height: 100%;
}

#message-container {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex: auto;
    min-width: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
}

.auto-height-flex {
    flex-shrink: 0;
}

#y-chat-page-container {
    flex: auto;

    &.color-header {
        .y-chat-page {
            top: -3/10rem;
            border-top-right-radius: 2/10rem;
            border-top-left-radius: 2/10rem;
        }
    }
}

.y-chat-page {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex: auto;
    flex-direction: column;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;

    .home-page-container {
        overflow: scroll;
        -webkit-overflow-scrolling: touch;

    }
}

#y-chat-main {
    flex: auto;
    overflow: auto;
    box-sizing: border-box;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    //padding-bottom: 28/10rem;
    //padding-bottom: 9/10rem;
}
